package com.anti.modular.owner.ownerleasefees.entity;

import com.anti.commom.support.model.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
/**
 * 固定費用
 *
 * @author anti
 * @date 2021-05-20 14:28:05
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name="owner_lease_fees")
public class OwnerLeaseFees extends BaseEntity {

    /**
     * 主键id
     */
    @Id
    private Long id;

    /**
     * 業主租约主键
     */
    private Long ownerLeaseId;

    /**
     * 固定费用id
     */
    private Long feesId;

    /**
     * 固定费用名称
     */
    private String feesName;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 状态（字典 0正常 1注銷 2刪除）
     */
    private Integer status;

}
